\hypertarget{structnih_1_1abs__cosine__fun}{
\section{nih\-:\-:abs\-\_\-cosine\-\_\-fun$<$ \-Vector\-\_\-type $>$ \-Struct \-Template \-Reference}
\label{structnih_1_1abs__cosine__fun}\index{nih\-::abs\-\_\-cosine\-\_\-fun$<$ Vector\-\_\-type $>$@{nih\-::abs\-\_\-cosine\-\_\-fun$<$ Vector\-\_\-type $>$}}
}


{\ttfamily \#include $<$functors.\-h$>$}

\subsection*{\-Public \-Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1abs__cosine__fun_a4e74ec8f03c043f155b85ca66f81516b}{
typedef \-Vector\-\_\-type {\bfseries argument\-\_\-type}}
\label{structnih_1_1abs__cosine__fun_a4e74ec8f03c043f155b85ca66f81516b}

\item 
\hypertarget{structnih_1_1abs__cosine__fun_a374d29f99c7b8fc42cc34356fff76e7d}{
typedef float {\bfseries result\-\_\-type}}
\label{structnih_1_1abs__cosine__fun_a374d29f99c7b8fc42cc34356fff76e7d}

\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E \hyperlink{structnih_1_1abs__cosine__fun_a9522a3b7785ea2f28b9446471ae7a9d7}{abs\-\_\-cosine\-\_\-fun} (const \-Vector\-\_\-type \&normal)
\item 
\hypertarget{structnih_1_1abs__cosine__fun_a16730fb31541444c43c6bdcc4efa3fa9}{
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float {\bfseries operator()} (const \-Vector\-\_\-type \&dir) const }
\label{structnih_1_1abs__cosine__fun_a16730fb31541444c43c6bdcc4efa3fa9}

\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1abs__cosine__fun_ae1f3a6e71fd31c1ffbcd6553cf5a6dd1}{
const \-Vector\-\_\-type {\bfseries m\-\_\-normal}}
\label{structnih_1_1abs__cosine__fun_ae1f3a6e71fd31c1ffbcd6553cf5a6dd1}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\subsubsection*{template$<$typename Vector\-\_\-type$>$struct nih\-::abs\-\_\-cosine\-\_\-fun$<$ Vector\-\_\-type $>$}

\-A functor to compute the absolute value of the cosine of the angle formed with a given normal 

\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{structnih_1_1abs__cosine__fun_a9522a3b7785ea2f28b9446471ae7a9d7}{
\index{nih\-::abs\-\_\-cosine\-\_\-fun@{nih\-::abs\-\_\-cosine\-\_\-fun}!abs\-\_\-cosine\-\_\-fun@{abs\-\_\-cosine\-\_\-fun}}
\index{abs\-\_\-cosine\-\_\-fun@{abs\-\_\-cosine\-\_\-fun}!nih::abs_cosine_fun@{nih\-::abs\-\_\-cosine\-\_\-fun}}
\subsubsection[{abs\-\_\-cosine\-\_\-fun}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Vector\-\_\-type $>$ \-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E {\bf nih\-::abs\-\_\-cosine\-\_\-fun}$<$ \-Vector\-\_\-type $>$\-::{\bf abs\-\_\-cosine\-\_\-fun} (
\begin{DoxyParamCaption}
\item[{const \-Vector\-\_\-type \&}]{normal}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1abs__cosine__fun_a9522a3b7785ea2f28b9446471ae7a9d7}
constructor


\begin{DoxyParams}{\-Parameters}
{\em normal} & reference normal \\
\hline
\end{DoxyParams}


\-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
basic/\hyperlink{functors_8h}{functors.\-h}\end{DoxyCompactItemize}
